package com.dx.hsb.service.impl;

import com.dx.hsb.domain.DDL;
import com.dx.hsb.domain.RealTimeLocation;
import com.dx.hsb.mapper.RealTimeLocationMapper;
import com.dx.hsb.service.RealTimeLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @ClassName RealTimeLocationServiceImpl
 * @Description TODO:
 * @Author 12994
 * @Date 2024/10/23 22:15
 * @Version 1.0
 **/
@Service("realTimeLocationService")
public class RealTimeLocationServiceImpl implements RealTimeLocationService {
    @Autowired
    private RealTimeLocationMapper rlm;

    @Override
    public ArrayList<RealTimeLocation> selectAll() {
        return rlm.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return rlm.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RealTimeLocation record) {
        return rlm.insert(record);
    }

    @Override
    public RealTimeLocation selectByPrimaryKey(Long id) {
        return rlm.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(RealTimeLocation record) {
        return rlm.updateByPrimaryKey(record);
    }

    @Override
    public ArrayList<DDL> getMapping() {
        return rlm.getMapping();
    }
}
